<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('dbplayer/skillhotkey/flexigrid') ?>',
                    colModel: [
                        {display: '<?= translate('DBPLAYER_ROLEID') ?>', name: 'roleid', width: '200', process: formatSearch},
                        //{display: '<?= translate('DBPLAYER_GMID') ?>', name: 'gmid', width: '200', process: formatSearch},
                        {display: '<?= translate('MENU_SKILL_ID')?>', name: 'skillid', width: '300', iskey: true},
                        <!--{display: '<?= translate('MENU_SKILL_NAME')?>', name: 'skillname', width: '200'},-->
                        //{display: '<?= translate('DBPLAYER_SKILL_LEVEL') ?>', name: 'pos',width:'120',process: formatSearch},
                        {display: '<?= translate('DBPLAYER_SKILLPOS') ?>', name: 'pos',width:'120',process: formatSearch},
                        {display: '<?= translate('DBPLAYER_ISSKILL') ?>', name: 'isskill',width:'150',process: formatSearch},
                        
                    ],
                    buttons: [
                              {name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},  
                    ],
                    //searchitems:[{display:'<?= translate('DBPLAYER_ROLEID') ?>',name:'roleid'}],
                }));
               
            });    
        </script>
    </body>
</html>